package com.sikaryofficial.backend.domain.dto.resp.music;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 音乐分类对象
 *
 * @author qinjinyuan
 * @date 2024-08-07
 */
@Getter
@Setter
@ToString
@ApiModel(value = "音乐分类对象", description = "音乐分类对象")
public class MusicGenreVO {
    /**
     * 音乐ID
     */
    @JsonIgnore
    private Long musicId;
    /**
     * 分类ID
     */
    @ApiModelProperty(value = "分类ID")
    @NotNull(message = "musicGenreId is null")
    private Long musicGenreId;
    /**
     * 分类名称
     */
    @ApiModelProperty(value = "分类名称")
    private String genreName;
}
